package net.maku.im.service;

import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.im.dto.ImPrivateMessageQueryDTO;
import net.maku.im.entity.ImPrivateMessageEntity;
import net.maku.im.vo.ImPrivateMessageVO;

/**
 * 私聊消息
 *
 * @author Blue 
 * @since 1.0.0 2024-07-19
 */
public interface ImPrivateMessageService extends BaseService<ImPrivateMessageEntity> {

    PageResult<ImPrivateMessageVO> page(ImPrivateMessageQueryDTO query);


    ImPrivateMessageVO info(Long id);
}